package com.huosu.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 矿机配置
 * </p>
 *
 * @author zhangjian
 * @since 2019-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("m_excel")
@ApiModel(value="矿机配置", description="矿机配置")
public class Excel extends Model<Excel> implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String ip;

    @ApiModelProperty(value = "pool1")
    private String pool1;

    @ApiModelProperty(value = "miner1")
    private String miner1;

    @ApiModelProperty(value = "pool2")
    private String pool2;

    @ApiModelProperty(value = "miner2")
    private String miner2;

    @ApiModelProperty(value = "pool3")
    private String pool3;

    @ApiModelProperty(value = "miner3")
    private String miner3;

    @ApiModelProperty(value = "型号")
    private String machine;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "修改时间")
    private String updateTime;

    @ApiModelProperty(value = "开关：0开启；1关闭")
    private Integer switchFlg;

    @TableField(exist = false)
    @ApiModelProperty(value = "币种英文名小写")
    private String coin;

    @TableField(exist = false)
    @ApiModelProperty(value = "起始IP")
    private String startIp;

    @TableField(exist = false)
    @ApiModelProperty(value = "结束IP")
    private String endIp;

    @TableField(exist = false)
    @ApiModelProperty(value = "IP集合")
    private List<String> Ips;

    @TableField(exist = false)
    @ApiModelProperty(value = "后缀名：1IP；2自定义；3递增")
    private Integer suffix;

    @TableField(exist = false)
    @ApiModelProperty(value = "起始编号")
    private Integer startNum;




}
